'''
Created on 2024年7月20日

@author: Administrator
'''


alien_0 = {'color':'green','points':5}
alien_1 = {'color':'yellow','points':5}
alien_2 = {'color':'red','points':5}

aliens = [alien_0,alien_1,alien_2]
for alien in aliens:
    print(alien)

aliens = []
for alien_number in range(30):
    new_alien = {'color':'green','points':5,'speed':'slow'}
    aliens.append(new_alien)

for alien in aliens[:5]:
    print(alien)
    
print("...")
print(f'Total number of aliens:{len(aliens)}')

for alien in aliens[:3]:
    if alien['color'] == 'green':
        alien['color'] = 'yellow'
        alien['speed'] = 'medium'
        alien['points'] = 10
        
for alien in aliens[:5]:
    print(alien)

a = ("123dfasdfasfaldksjflasdjflasjfl;asdf"
"sda;flkdsa;lfka;sfk;ad;asdkf;asdfk"  
"middle"
"end")
b = "123dfasdfasfaldksjflasdjflasjfl;asdf" \
"sda;flkdsa;lfka;sfk;ad;asdkf;asdfk"  \
"middle"\
"end"
c = "123dfasdfasfaldksjflasdjflasjfl;asdf \
sda;flkdsa;lfka;sfk;ad;asdkf;asdfk  \
middle\
end"

# d = "123dfasdfasfaldksjflasdjflasjfl;asdf"
#     "sda;flkdsa;lfka;sfk;ad;asdkf;asdfk"  
#     "middle"
#     "end"

print("a=",a)
print("b=",b)
print("c=",c)
# print("d=",d)

a = 1 + \
5
print(a)

